import request from "@/utils/request";
import axios from "@/utils/http";
// 获取首页信息
export function getNoteListApi(data) {
  return request({
    url: `/back/interview/query`,
    method: 'GET',
    data: data
  })
}
// 修改简历
export function updateNoteApi(data) {
  return request({
    url: `/back/interview/dostatus?iid=${data.iid}&status=${data.status}`,
    method: 'PUT',
    data: data
  })
}

//删除简历
export function deleteNoteApi(data) {
  return request({
    url: `/back/interview/delete?id=${data.id}`,
    method: 'DELETE',
    data: data
  })
}
//搜索简历
export function searchNoteApi(data) {
  return request({
    url: `/back/interview/query?name=${data.name}&status=${data.status}`,
    method: 'GET',
    data: data
  })
}